<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<div id=comments>
<h3><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_Comments" id="Resourcecontrol1" /></h3>
		<asp:Repeater id="Comments" runat="server">
			<ItemTemplate>
				<div class=AdminMenu><asp:LinkButton id="ApproveButton" Runat="server" />&nbsp;&nbsp;&nbsp;<asp:LinkButton id="DeleteButton" Runat="server" /></div>
				<div class="commentssubhead"><asp:Literal id="ComDate" runat="server" /> by <asp:PlaceHolder id="ComWho" runat="server" /></div>
				<div class="commentsbody"><asp:Literal id="ComBody" runat="server" /></div>
			</ItemTemplate>
		</asp:Repeater>

		<asp:PlaceHolder id="AddCommentArea" Runat="server">
			<h3><span id="CommentButton" style="cursor:hand"><a href="javascript: ToggleAddComment();" class="CommonTextButton"><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_AddComment" /></a></span></h3>

			<div class="sectionContainer" style="position:absolute;display:none;visibility:hidden;width:400px;background-color:white" id="CommentMenu">
				<fieldset><legend><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_AddComment2" /></legend>
						<dl>
						<asp:PlaceHolder id="AnonymousUser" runat="server">
								<dt><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_Name" /> <em>(<CS:ResourceControl runat="server" ResourceName="Required" id="Resourcecontrol2" NAME="Resourcecontrol2"/>)</em></dt>
								<dd><asp:TextBox id="CommentName" runat="server" Columns="40" MaxLength="256" CssClass="smallbox" /></dd>

								<dt><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_Website" /> <em>(<CS:ResourceControl runat="server" ResourceName="Optional" id="Resourcecontrol3" NAME="Resourcecontrol3"/>)</em></dt>
								<dd><asp:TextBox id="CommentWebsite" runat="server" Columns="40" MaxLength="256" CssClass="smallbox" /></dd>
						</asp:PlaceHolder>

						<asp:PlaceHolder id="RegisteredUser" runat="server" visible="false">
							<dt><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_User" /></dt>
							<dd><asp:Literal id="UserName" runat="server" /></dd>
						</asp:PlaceHolder>

						<dt><CS:ResourceControl runat="server" ResourceName="Gallery_CommentListing_Body" /> <em>(<CS:ResourceControl runat="server" ResourceName="Required" id="Resourcecontrol4" NAME="Resourcecontrol2"/>)</em></dt>
						<dd><asp:TextBox id="CommentBody" runat="server" Columns="40" Rows="3" MaxLength="3000" TextMode="MultiLine" CssClass="formEntry" /></dd>
						<dt><asp:Label id="CommentBodyErrMsg" Runat="server" CssClass="validationWarning" Visible="false">*</asp:Label></dt>
						<dt>
								<asp:LinkButton CssClass="CommonTextButton" id="CommentSubmit" runat="server" />
								<a href="#" class="CommonTextButton" onclick="ToggleCommentForm(); return false;"><%=ResourceManager.GetString("Close")%></a>
						</dt>
				 </dl></fieldset>

			</div>
		</asp:PlaceHolder>
</div>
